From 02bd687e388ec1c4c3b532478650e33afdb49525 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 2 Aug 2004 06:09:24 +0000 Subject: [PATCH] Don't steal the pointer grab from the context menu of the entry. (#148686, Mon Aug 2 02:07:43 2004 Matthias Clasen * gtk/gtkentrycompletion.c (_gtk_entry_completion_popdown): Don't steal the pointer grab from the context menu of the entry. (#148686, Christian Persch) --- gtk/gtkentrycompletion.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index f36d510925..19bec1b80c 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -1386,6 +1386,9 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion) void _gtk_entry_completion_popdown (GtkEntryCompletion *completion) { + if (!GTK_WIDGET_MAPPED (completion->priv->popup_window)) + return; + completion->priv->ignore_enter = FALSE; gdk_pointer_ungrab (GDK_CURRENT_TIME); -- 2.30.2